package com.liuhaoqi.raletiveblog.service;

import com.liuhaoqi.raletiveblog.entity.Memory;
import com.liuhaoqi.raletiveblog.result.business.PageResult.TimelinePageResult;

import java.util.List;

/**
 * @Author liuhaoqi
 * @Date 2020/4/19 17:52
 * @Version 1.0
 */
public interface MemoryService {
    int updateMemoryByMemoryId(Memory memory);
    int deleteMemoryByMemoryId(int memoryId);
    List<TimelinePageResult> getMemmoryListMang(int start,int end,int pagesize);
    List<Memory> getMemoryList();
}
